﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class GoiCuocBLL
    {
        GoiCuocDAL _goiCuoc;

        public GoiCuocBLL()
        {
            _goiCuoc = new GoiCuocDAL();
        }

        public DataTable Load()
        {
            return _goiCuoc.Load();
        }

        public int Insert(GoiCuocPublic p)
        {

            return _goiCuoc.Insert(p);
        }

        public int Update(GoiCuocPublic p)
        {
            return _goiCuoc.Update(p);
        }

        public int Delete(GoiCuocPublic p)
        {
            return _goiCuoc.Delete(p);
        }
    }
}
